<form action="<?php echo $t['submit_route']; ?>" method="POST">
<div>Do you want to sign in to <strong><?php echo $t['remote_url'];?></strong> as <strong><?php echo $t['current_openid'];?></strong>?</div>
<div><label><input type="checkbox" name="add_to_trusted" value="1"/> Add to trusted sites</label></div>
<div><input type="submit" value="continue" name="confirm_login"/></div>
<?php
    // print hidden options
    foreach ($t['parameters'] as $k=>$v) {
        printf('<input type="hidden" name="%s" value="%s"/>%s', $k, htmlspecialchars($v), "\n");
    }
?></form>
